home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q102 / 8 / 78.TXT < prev    next >
Text File  |  1993-09-29  |  9KB  |  203 lines

  1. DOCUMENT:Q102878  28-SEP-1993  [W_NT]
  2. TITLE   :INF: Information on Browser Operation
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. -----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. -----------------------------------------------------------------------
  14.  
  15. SUMMARY
  16. =======
  17.  
  18. The Computer Browser service lets you track servers that are active on
  19. the network with a minimum of network overhead. It consists of two
  20. components on a Windows NT or Windows NT Advanced Server computer.
  21.  
  22. The User Mode component is the Browser, which is part of the LAN
  23. Manager Server service. This portion is responsible for maintaining
  24. the browse list, remoting the NetServerEnum API, and managing the
  25. computer's role as a Browser (or non-Browser).
  26.  
  27. The Kernel Mode component is the Datagram Receiver and is in charge of
  28. receiving and managing datagrams.
  29.  
  30. Browser Roles
  31. -------------
  32.  
  33. A network can contain the following types of servers related to
  34. browsing:
  35.  
  36. Non-Browser Servers - Do not maintain browse lists, but announce
  37. themselves periodically to the Master Browser.
  38.  
  39. Potential Browser - Can become a Browser server if needed.
  40.  
  41. Backup Browser - Maintains a browse list of servers and domains that
  42. it retrieves from the Master Browser.
  43.  
  44. Master Browser - Receives server and Domain announcements, sends
  45. browse lists to Backup Browsers, responds to clients requesting browse
  46. server lists, promotes Potential Browsers to Backup when needed, and
  47. announces the domain to inform the Master Browsers of other domains of
  48. the domain name and Master Browser for that domain.
  49.  
  50. Preferred Master Browser - Same as Backup Browser except that it is
  51. biased in elections through setting the IsDomainMasterBrowser to TRUE
  52. is the registry's browser parameters.
  53.  
  54. Domain Master Browser - The primary domain controller of a domain is
  55. given a special bias in browser elections so that it will become the
  56. Domain Master Browser. This allows browsing to be effective when a
  57. domain spans multiple subnets. A directed datagram is used by Master
  58. Browsers on each subnet to announce itself to the Domain Master
  59. Browser. This is made possible through an entry in the LMHOSTS file on
  60. the Master Browsers for the Domain Controller. This makes it necessary
  61. to have a Windows NT Advanced Server computer to browse across wide
  62. area network (WAN) connections.
  63.  
  64. There will be at least one Master Browser on a workgroup/domain and
  65. one Backup Browser for every 32 systems in that workgroup/domain. This
  66. means that in a domain/workgroup with fewer than 32 systems, there
  67. will be one Master and one Backup Browser. One more Backup Browser
  68. will be added for every 32 systems. This is accomplished by the Master
  69. Browser telling a Potential Browser to become a Backup Browser.
  70.  
  71. Browser NetBIOS Names
  72. ---------------------
  73.  
  74. Several special NetBIOS names and Mailslots are used to maintain and
  75. retrieve browse lists. Names listed here as "DOMAIN(xx)" indicate the
  76. domain name followed by the hex value (xx) and padded with spaces to
  77. the 16th byte.
  78.  
  79. <01><02>__MSBROWSE__<02><01>
  80.  
  81. This name is registered by the Master Browser and is used to broadcast
  82. and receive domain announcements on the local subnet. It is through
  83. this name that Master Browsers for different domains learn the names
  84. of different domains and the names of the Master Browsers on those
  85. domains.
  86.  
  87. DOMAIN(00)
  88.  
  89. This is the name to which server announcements are broadcast in
  90. Microsoft LAN Manager so that other Microsoft LAN Manager computers
  91. can track the servers on the network. Windows NT computers do not make
  92. these broadcasts unless the LMAnnounce option has been enabled by
  93. configuring the Server service with the Control Panel/Networks
  94. application. This means that LAN Manager systems will not see these
  95. computers unless this option is enabled.
  96.  
  97. A LAN Manager server within the Windows NT domain will be seen by the
  98. Browser and therefore other systems on the network. A LAN Manager
  99. domain that doesn't contain any Windows NT computers will not appear
  100. on the browse lists unless it is specified as an Other Domain through
  101. the Control Panel/Networks application in the Computer Browser
  102. configuration.
  103.  
  104. DOMAIN(1D)
  105.  
  106. This name is registered by Master Browsers. It is used by clients to
  107. find a Master Browser server. A client will broadcast to this name to
  108. get a list of browser servers from the Master Browser. The Master
  109. Browser will send a list of browser servers to the client from which
  110. the client will cache three of these server names. The client will
  111. then randomly pick one of these servers to request a list of servers
  112. and domains from.
  113.  
  114. DOMAIN(1B)
  115.  
  116. This name is registered by the primary domain controller in a domain
  117. only and allows unique identification of that computer.
  118.  
  119. DOMAIN(1E)
  120.  
  121. This name is registered by all Browser servers and Potential Browser
  122. servers in a domain or workgroup. It is used for announcement requests
  123. which are sent by Master Browsers to fill up its browse lists, and for
  124. election request packets to force an election. Elections are performed
  125. by sending a packet out to this name that contains your election
  126. criteria.
  127.  
  128. The election criteria for a Browser is based on the Browser's current
  129. role in the domain and its current state, using the following
  130. hierarchy:
  131.  
  132.    Operating System Type:        0xFF000000
  133.    Windows for Workgroups:       0x00000000
  134.    Windows NT:                   0x01000000
  135.    Windows NT Advanced Server:   0x02000000
  136.    Election Version:             0x00FFFF00
  137.    Per version criteria:         0x000000FF
  138.    PDC:                          0x00000080
  139.    Preferred Master:             0x00000008
  140.    Running Master:               0x00000004
  141.    MaintainServerList = Yes:     0x00000002
  142.    Running Backup Browser:       0x00000001
  143.  
  144. The Browser will OR all of the appropriate election criteria and use
  145. this to determine the system's election criteria.
  146.  
  147. The criteria for determining if a Browser has won an election is the
  148. following:
  149.  
  150.  - If your election version is greater than the sender's election
  151.    version, you win.
  152.  
  153.  - Else if your election criteria is greater than the sender's
  154.    criteria, you win.
  155.  
  156.  - Else if you have been up longer than the sender, you win.
  157.  
  158.  - If the above comparisons fail to determine a Master Browser, the
  159.    computer with the lexically lowest name will win the election.
  160.  
  161. If a Browser receives an election request, it compares the criteria to
  162. its own and if it wins it will send out up to four election packets.
  163. If after this time it does not receive an election packet with a
  164. better criteria, it will become the Master Browser. Elections can be
  165. caused by any computer that cannot locate a Master Browser, or by a
  166. Potential Browser during initialization. An election is also
  167. instigated by a Master Browser when it shuts down gracefully.
  168.  
  169. Mail Slots
  170. ----------
  171.  
  172. Server and Domain Names in the browse list are aged and are removed
  173. from the browse list if they have not been heard from in three
  174. Announce periods.
  175.  
  176. The Browser uses Mailslot Transactions to pass these messages between
  177. systems. Two Mailslots are used.
  178.  
  179. For messages intended for all systems including LAN Manager and
  180. Windows for Workgroups, MAILSLOT\LANMAN is used.
  181.  
  182. MAILSLOT\BROWSE is used for messages intended for Windows NT and
  183. Windows NT Advanced Server systems.
  184.  
  185. Additional reference words: 3.10 WFW browsemaster
  186. KBCategory:
  187. KBSubCatergory: netsrv
  188.  
  189. =============================================================================
  190.  
  191. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  192. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  193. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  194. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  195. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  196. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  197. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  198. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  199. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  200. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  201. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  202.  
  203. Copyright Microsoft Corporation 1993.